package com.ctgu.controller;

import com.ctgu.common.ResponseResult;

import com.ctgu.service.SystemLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/system_log")
public class SystemLogController {

    @Autowired
    private SystemLogService systemLogService;

    @GetMapping("/list")
    public ResponseResult list(){
        return new ResponseResult<>(200,"查询成功",systemLogService.list());
    }
}
